import { lazy } from 'ice';

const Solution = lazy(() => import('@/pages/Examples/Solution'));
const Analysis = lazy(() => import('@/pages/Examples/Analysis'));
const Monitor = lazy(() => import('@/pages/Examples/Monitor'));
const Workplace = lazy(() => import('@/pages/Examples/Workplace'));
const FormBasic = lazy(() => import('@/pages/Examples/FormBasic'));
const FormTwo = lazy(() => import('@/pages/Examples/FormTwo'));
const FormThree = lazy(() => import('@/pages/Examples/FormThree'));
const FormFour = lazy(() => import('@/pages/Examples/FormFour'));
const FormStep = lazy(() => import('@/pages/Examples/FormStep'));
const FormClassified = lazy(() => import('@/pages/Examples/FormClassified'));
const FormHierarchical = lazy(() => import('@/pages/Examples/FormHierarchical'));
const FormGroup = lazy(() => import('@/pages/Examples/FormGroup'));
const FlowGroup = lazy(() => import('@/pages/Examples/FlowGroup'));
const BasicDetailPage = lazy(() => import('@/pages/Examples/BasicDetailPage'));
const Advanced = lazy(() => import('@/pages/Examples/Advanced'));
const BasicListPage = lazy(() => import('@/pages/Examples/BasicListPage'));
const CardListPage = lazy(() => import('@/pages/Examples/CardListPage'));
const FusionFilterTable = lazy(() => import('@/pages/Examples/FusionFilterTable'));
const FusionMutilcolTable = lazy(() => import('@/pages/Examples/FusionMutilcolTable'));
const FusionSinglecolTable = lazy(() => import('@/pages/Examples/FusionSinglecolTable'));
const FusionExpandTable = lazy(() => import('@/pages/Examples/FusionExpandTable'));
const FusionActionTable = lazy(() => import('@/pages/Examples/FusionActionTable'));
const FusionMergecellTable = lazy(() => import('@/pages/Examples/FusionMergecellTable'));
const FusionSingletreeTable = lazy(() => import('@/pages/Examples/FusionSingletreeTable'));
const FusionDialogTable = lazy(() => import('@/pages/Examples/FusionDialogTable'));
const TableListPage = lazy(() => import('@/pages/Examples/TableListPage'));
const FeedbackFail = lazy(() => import('@/pages/Feedback/FeedbackFail'));
const FeedbackSuccess = lazy(() => import('@/pages/Feedback/FeedbackSuccess'));
const FeedbackForbidden = lazy(() => import('@/pages/Feedback/FeedbackForbidden'));
const FeedbackNotFound = lazy(() => import('@/pages/Feedback/FeedbackNotFound'));
const FeedbackServerError = lazy(() => import('@/pages/Feedback/FeedbackServerError'));
const Settings = lazy(() => import('@/pages/Examples/Settings'));
const Person = lazy(() => import(/* webpackChunkName: 'Person' */ '@/pages/Examples/Person'));

export default [
  {
    path: '/solution',
    component: Solution,
  },
  {
    path: '/dashboard/analysis',
    component: Analysis,
  },
  {
    path: '/dashboard/monitor',
    component: Monitor,
  },
  {
    path: '/dashboard/workplace',
    component: Workplace,
  },
  {
    path: '/form/basic',
    component: FormBasic,
  },
  {
    path: '/form/two',
    component: FormTwo,
  },
  {
    path: '/form/three',
    component: FormThree,
  },
  {
    path: '/form/four',
    component: FormFour,
  },
  {
    path: '/form/step',
    component: FormStep,
  },
  {
    path: '/form/classified',
    component: FormClassified,
  },
  {
    path: '/form/hierarchical',
    component: FormHierarchical,
  },
  {
    path: '/form/group',
    component: FormGroup,
  },
  {
    path: '/form/flow',
    component: FlowGroup,
  },
  {
    path: '/detail/basic',
    component: BasicDetailPage,
  },
  {
    path: '/detail/advanced',
    component: Advanced,
  },
  {
    path: '/list/basic',
    component: BasicListPage,
  },
  {
    path: '/list/card',
    component: CardListPage,
  },
  {
    path: '/list/table/filter',
    component: FusionFilterTable,
  },
  {
    path: '/list/table/mutilcol',
    component: FusionMutilcolTable,
  },
  {
    path: '/list/table/singlecol',
    component: FusionSinglecolTable,
  },
  {
    path: '/list/table/expand',
    component: FusionExpandTable,
  },
  {
    path: '/list/table/action',
    component: FusionActionTable,
  },
  {
    path: '/list/table/mergecell',
    component: FusionMergecellTable,
  },
  {
    path: '/list/table/singletree',
    component: FusionSingletreeTable,
  },
  {
    path: '/list/table/dialog',
    component: FusionDialogTable,
  },
  {
    path: '/list/table',
    component: TableListPage,
  },
  {
    path: '/feedback/fail',
    component: FeedbackFail,
  },
  {
    path: '/feedback/success',
    component: FeedbackSuccess,
  },
  {
    path: '/feedback/403',
    component: FeedbackForbidden,
  },
  {
    path: '/feedback/404',
    component: FeedbackNotFound,
  },
  {
    path: '/feedback/500',
    component: FeedbackServerError,
  },
  {
    path: '/settings',
    component: Settings,
  },
  {
    path: '/person',
    component: Person,
  },
];
